import type { App } from 'vue';

import { createPinia } from 'pinia';

const pinia = createPinia();

const setupStore = (app: App<Element>) => {
  app.use(pinia);
};

export {
  pinia,
  setupStore,
};
